package com.yidu.service.impl;

import java.util.List;
import java.util.Map;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.yidu.dao.SnReDetailMapper;
import com.yidu.model.SnReDetail;
import com.yidu.service.SnDetailService;

/** 
 * @ClassName: 零售订单详情service
 * @Description: 描述
 * @author: ZhangHao
 * @date: 2018年11月27日 上午11:08:35  
 */
@Service
public class SnDetailServiceImpl implements SnDetailService{
	/**
	 * 注入订单详情mapper
	 */
	@Resource
	SnReDetailMapper DetailMapper;
	
	/**
	 * 查询所有
	 */
	@Override
	public List<SnReDetail> findAll(Map<String, Object> maps) {
		return DetailMapper.findAll(maps);
	}
	
	/**
	 * 查询行数
	 */
	@Override
	public int findCount(Map<String, Object> maps) {
		return DetailMapper.findCount(maps);
	}
	
}
